{% extends "base.html" %}

{% block title %}mobeir用户登录{% endblock %}

{% block left_content %}


    <form  action="/login/" method="post">{% csrf_token %}
    {% if form.errors %}
        <p style="color: red;">
                           请正确的填写下面的表单
        </p>
    {% endif %}	    
        <div class="form">
        <input type="hidden" name="next" value="{{next}}">
        <div class="title">用户登录</div>	
            {{ form.as_p }}
		<p><input type="checkbox" name="cookie_opt" id="id_cookie_opt" value="1" />    <span>记住我，一个月不用登录</span></p>
		<p><input class="button" type="submit" value="登录">
		<font color=red>{{alert}}</font></p>	
		
        </div>

    </form>
	<div style="height:200;"></div>
{% endblock %}

{% block right_content %}

{% endblock %}